uint8_t Senbuff[] = "Hello world！";  //定义数据发送数组


while(1)
{
  HAL_UART_Transmit_DMA(&huart1, (uint8_t *)Senbuff, sizeof(Senbuff));
  HAL_Delay(1000);

}